package btanalyzer.db;

import org.springframework.context.support.ClassPathXmlApplicationContext;

import btanalyzer.db.report.Report;

public class ReportRunner {
	
	public static void main(String[] args) {
		ClassPathXmlApplicationContext ctx = new ClassPathXmlApplicationContext(
				"classpath*:btanalyzer/db/spring/appctx.xml");
		((Report) ctx.getBean("ReportResourceFiles")).generate();
		((Report) ctx.getBean("ReportSeeds")).generate();
		((Report) ctx.getBean("ReportResourceSize")).generate();
		((Report) ctx.getBean("ReportPieceSize")).generate();
		((Report) ctx.getBean("ReportPieceQuanity")).generate();
		ctx.close();
	}
}
